package cn.kgc.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * (Log)表实体类
 *
 * @author 石浩杰
 * @since 2022-09-27 08:41:45
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "log")
@SuppressWarnings("serial")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Log extends Model<Log> implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id; //主键


    /**
     * 模块名
     **/
    @TableField(value = "modulename")
    private String modulename;


    /**
     * 标题
     **/
    @TableField(value = "title")
    private String title;


    /**
     * 日志内容
     **/
    @TableField(value = "content")
    private String content;


    /**
     * 日志类型
     **/
    @TableField(value = "logtype")
    private String logtype;

}
